export const HTTP_GET = "GET"
export const HTTP_POST = "POST"
// 表单提交格式
export const COTENT_TYPE_FORM_URLENCODED = 'application/x-www-form-urlencoded'
export const COTENT_TYPE_JSON = 'application/json'



export const ERROR_HTTP_CODE = 1
export const ERROR_HTTP_CODE_TEXT = 'HTTP 状态码异常'

export const ERROR_REQUEST = 2
export const ERROR_REQUEST_TEXT = '请求被阻止'

export const ERROR_TIMEOUT = 3
export const ERROR_TIMEOUT_TEXT = '请求超时'

export const ERROR_ABORT = 4
export const ERROR_ABORT_TEXT = '请求终止'